<template>
    <div class="nav container">
        <van-nav-bar
            class=""
            :title="title"
            fixed
            placeholder
            :left-arrow="leftArrow"
            @click-left="clickLeft"
        />
    </div>
</template>

<script>
export default {
    props:{
        title: {
            require: true,
            type: String
        },
        leftArrow: {
            type: Boolean,
            default: () => false
        },
        clickLeft: {
            type: Function,
            default: () => {}
        }
    }
}
</script>
